/**
 * Created by hebo on 2017/3/16.
 */
$(document).ready(function(){
    var tabsWidth = $(window).width()-305;/* 300 */
    tabPage = $("#tabs").tabs({tabsWidth:tabsWidth, iframeId:"frame_container", liTabsId:"jTabs_container", tabWidth:120, marginWidth:0, homeUrl:"test/main.html"});

    var dataList = new Array();
    dataList.push({id:1, path:null, parentId:0, name:'测试1'})
    dataList.push({id:2, path:'test/test1.html', parentId:1, name:'模拟页'})
    dataList.push({id:3, path:'test/test2.html', parentId:1, name:'tab'})
    dataList.push({id:4, path:'test.jsp', parentId:1, name:'测试4'})
    dataList.push({id:5, path:null, parentId:0, name:'测试5'})
    dataList.push({id:6, path:'test.jsp', parentId:5, name:'测试6'})
    dataList.push({id:7, path:'test.jsp', parentId:5, name:'测试7'})
    dataList.push({id:8, path:'test.jsp', parentId:5, name:'相关元素'})

    menus("model_menu", "tabPage", {}, dataList);

});